<%--
  Created by IntelliJ IDEA.
  User: cherishy
  Date: 2020/8/1
  Time: 15:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui-v2.5.6/css/layui.css" />
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
    <legend>文件上传</legend>
</fieldset>

<form enctype="multipart/form-data" method="post" action="${pageContext.request.contextPath}/upload">
    <input type="file" name="file">
    <input type="submit" class="layui-btn">
</form>
<a href="${pageContext.request.contextPath}/book/getBooks"><button class="layui-btn">返回</button></a>
</body>
</html>
